//
//  HMPhotoViewerController.h
//  PhotoBrowser
//
//  Created by likai on 2017/5/15.
//  Copyright © 2017年 terry. All rights reserved.
//

#import <UIKit/UIKit.h>

/**
 单张照片查看控制器 - 显示单张照片使用
 */
@interface HMPhotoViewerController : UIViewController


/**
 实例化单图查看器

 @param urlString urlString 字符串
 @param photoIndex 照片索引
 @param placeholder 占位图像
 @param titles 标题(数组)
 @return 单图查看器
 */
+ (instancetype)viewerWithURLString:(NSString *)urlString photoIndex:(NSInteger)photoIndex placeholer:(UIImage *)placeholder titles:(NSArray *)titles;

@property(nonatomic,assign)NSInteger photoIndex;
@property(nonatomic,readonly,strong)UIScrollView *scrollView;
@property(nonatomic,readonly,strong)UIImageView *imageView;

@property(nonatomic,strong)NSArray *title_Arr;
@end
